/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

/**
 *
 * @author quangphamngoc
 */
public class CategoryBean {
    private int Cat_ID;
    private String Cat_Name;
    private int Cat_Status;

    /**
     * @return the Cat_ID
     */
    public int getCat_ID() {
        return Cat_ID;
    }

    /**
     * @param Cat_ID the Cat_ID to set
     */
    public void setCat_ID(int Cat_ID) {
        this.Cat_ID = Cat_ID;
    }

    /**
     * @return the Cat_Name
     */
    public String getCat_Name() {
        return Cat_Name;
    }

    /**
     * @param Cat_Name the Cat_Name to set
     */
    public void setCat_Name(String Cat_Name) {
        this.Cat_Name = Cat_Name;
    }

    /**
     * @return the Cat_Status
     */
    public int getCat_Status() {
        return Cat_Status;
    }

    /**
     * @param Cat_Status the Cat_Status to set
     */
    public void setCat_Status(int Cat_Status) {
        this.Cat_Status = Cat_Status;
    }
    
    public String getStatusInString(){
        if (Cat_Status == 1){
            return "Available";
        } else{
            return "Unavailable";
        }
    }
    
}
